"""
urls
Administrator
2023/12/4
convergence_server
"""

from rest_framework import routers
from django.urls import include, path

# 引入views里面的类
from system.views import *

router = routers.DefaultRouter()

router.register('menulist', MenuViewSet, basename='menulist'),
router.register('image', ImageViewSet, basename='imagelist'),
router.register('message', MessageViewSet, basename='messagelist'),
router.register('company_message', CompanyMessageViewSet, basename='company_messagelist'),
router.register('label_type', LabelTypeViewSet, basename="label_type")  # 素材库通用标签类型
router.register('currency_label', CurrencyLabelViewSet, basename="currency_label")  # 素材库通用标签


app_name = 'system'

urlpatterns = [
    path('', include(router.urls)),
]
